﻿using OpenXml.Excel.Contract;
using OpenXml.Excel.Data;

namespace OpenXml.Excel.Tests
{
    [Head("Sheet1")]
    public class ItemExcelModel
    {
        [Column("序号")]
        public int Id { get; set; }

        [Column("产品名称")]
        public string ItemName { get; set; }

        [Column("货号")]
        public string ItemCode { get; set; }

        [Column("单位")]
        public string UnitName { get; set; }

        [Column("单价")]
        public decimal Price { get; set; }

        [Column("图片")]
        public ImageCellData Image { get; set; }
    }
}
